#include "GInput.h"
#include "GInputManager.h"
#include "GInputDefinitions.h"

namespace GEngine
{
	GInput::GInput()
	{
	}

	GInput::GInput(const char* Device, GInputSemantic Semantic, GInputState State, GInputType Type)
	{
		this->Device = mGInputManager->GetDevice(Device);
		this->Semantic = Semantic;
		this->State = State;
		this->Type = Type;
	}

	GInput::GInput(GInputDevice* Device, GInputSemantic Semantic, GInputState State, GInputType Type)
	{
		this->Device = Device;
		this->Semantic = Semantic;
		this->State = State;
		this->Type = Type;
	}

	GInput::~GInput()
	{
	}

	GInputDevice* GInput::GetDevice() const
	{
		return Device;
	}

	GInputType GInput::GetType() const
	{
		return Type;
	}

	GInputState GInput::GetState() const
	{
		return State;
	}

	GInputSemantic GInput::GetSemantic() const
	{
		return Semantic;
	}
}